package com.fuyao.cloud.common.core.flowable.dto;

import com.fuyao.cloud.common.core.flowable.enums.CommentTypeEnum;
import com.fuyao.cloud.common.core.flowable.enums.ProcessStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author lyhills
 * @Description 审批参数对象
 * @date 2023/3/7 16:33
 * @Version 1.0
 */
@Data
public class CompleteFlowableTaskDTO {

    @ApiModelProperty(value = "下一办理环节id")
    private String nextNodeId;

    @ApiModelProperty(value = "业务id", required = true)
    private String businessKey;

    @ApiModelProperty(value = "办理意见")
    private String message;

    @ApiModelProperty(value = "流程实例状态")
    private ProcessStatusEnum processStatusEnum;

    @ApiModelProperty(value = "审批意见类型")
    private CommentTypeEnum commentTypeEnum;

    @ApiModelProperty(value = "下一环节处理人")
    private List<String> userList;

    @ApiModelProperty(value = "绑定变量", required = true)
    private Map<String, Object> variables;

}
